import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import 'normalize.css'

import {ConfigProvider} from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';

import store from '@/store'
import {Provider} from 'react-redux'

ReactDOM.render(
    <React.StrictMode>
        {/* antd 全局化配置 */}
        <ConfigProvider locale={zhCN}>
            {/* 给全部容器组件传递store */}
            <Provider store={store}>
                <App/>
            </Provider>
        </ConfigProvider>
    </React.StrictMode>,
    document.getElementById('root')
);

